﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarShop
{

    public class DealershipException : Exception
    {
        public string DealershipMessage { get; set; }
        public string ExceptionSource { get; set; }

        public DealershipException()
            : base()
        {
            this.DealershipMessage = base.Message;
            this.ExceptionSource = base.Source;
        }

        public DealershipException(string message, string source)
            : base(message)
        {
            this.DealershipMessage = message;
            this.ExceptionSource = source;
        }
    }
}
